/*
 * Copyright (C) 2016 MediaTek Inc.
 * Copyright (C) 2021 XiaoMi, Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See http://www.gnu.org/licenses/gpl-2.0.html for more details.
 */

#ifndef _MTK_BATTERY_TABLE_H
#define _MTK_BATTERY_TABLE_H

#include "mtk_battery.h"

#ifndef _DEA_MODIFY_
#else
#include "mtk_battery_internal.h"
#endif

/* ============================================================
 * define
 * ============================================================
 */

/* Qmax for battery  */
#define Q_MAX_L_CURRENT 0
#define Q_MAX_H_CURRENT 10000

/* multiple battery profile compile options */
#define MTK_GET_BATTERY_ID_BY_AUXADC


/* if ACTIVE_TABLE == 0 && MULTI_BATTERY == 0
 * load g_FG_PSEUDO100_Tx from dtsi
 */
#define MULTI_BATTERY 0
#define BATTERY_ID_CHANNEL_NUM 1
#define BATTERY_PROFILE_ID 0
#define TOTAL_BATTERY_NUMBER 4

/*
 * if ACTIVE_TABLE == 0 , use DTSI table
 * if ACTIVE_TABLE == x , use .h table
 * ACTIVE_TABLE <= MAX_TABLE
 */
#define ACTIVE_TABLE 0

/*#define MTK_GET_BATTERY_ID_BY_GPIO*/

/* Qmax for battery  */
int g_Q_MAX[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 2946, 2712, 2490, 1965},/*T0*/
	{ 2796, 2851, 2468, 1984},/*T1*/
	{ 2718, 2432, 2310, 1946},/*T2*/
	{ 2535, 1991, 1858, 1873},/*T3*/
	{ 2523, 1960, 1843, 1851},/*T4*/
	{ 2211, 1652, 1533, 1541},/*T5*/
	{ 2201, 1642, 1523, 1531},/*T6*/
	{ 2191, 1632, 1513, 1521},/*T7*/
	{ 2181, 1622, 1503, 1511},/*T8*/
	{ 2171, 1612, 1493, 1501} /*T9*/
};

int g_Q_MAX_H_CURRENT[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 2646, 2412, 2190, 1665},/*T0*/
	{ 2496, 2551, 2168, 1684},/*T1*/
	{ 2418, 2132, 2010, 1646},/*T2*/
	{ 2235, 1691, 1558, 1573},/*T3*/
	{ 2223, 1660, 1543, 1551},/*T4*/
	{ 2210, 1650, 1533, 1541},/*T5*/
	{ 2200, 1640, 1523, 1531},/*T6*/
	{ 2190, 1630, 1513, 1521},/*T7*/
	{ 2180, 1620, 1503, 1511},/*T8*/
	{ 2170, 1610, 1493, 1501} /*T9*/
};

int g_Q_MAX_SYS_VOLTAGE[TOTAL_BATTERY_NUMBER] = { 3400, 3400, 3400, 3400};

/* 0~0.5V for battery 0, 0.5~1V for battery 1*/
/* 1~1.5V for battery 2, -1 for the last one (battery 3) */
/* J22 only one id :0.9V - battery0 */
int g_battery_id_voltage[TOTAL_BATTERY_NUMBER] = {
	1800000, 1900000, 2000000, -1};

int g_FG_PSEUDO1[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 5, 6, 7, 8},/*T0*/
	{ 9, 10, 11, 12},/*T1*/
	{ 13, 14, 15, 16},/*T2*/
	{ 17, 18, 19, 20},/*T3*/
	{ 21, 22, 23, 24},/*T4*/
	{ 23, 22, 21, 20},/*T5*/
	{ 19, 18, 17, 16},/*T6*/
	{ 15, 14, 13, 12},/*T7*/
	{ 11, 10, 11, 12},/*T8*/
	{ 13, 14, 15, 16} /*T9*/
};

int g_FG_PSEUDO100[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{ 100, 100, 100, 100},/*T0*/
	{ 100, 100, 100, 100},/*T1*/
	{ 100, 100, 100, 100},/*T2*/
	{ 100, 100, 100, 100},/*T3*/
	{ 100, 100, 100, 100},/*T4*/
	{ 100, 100, 100, 100},/*T5*/
	{ 100, 100, 100, 100},/*T6*/
	{ 100, 100, 100, 100},/*T7*/
	{ 100, 100, 100, 100},/*T8*/
	{ 100, 100, 100, 100} /*T9*/
};

/* shutdown_hl_zcv */
int g_SHUTDOWN_HL_ZCV[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{3400, 3410, 3420, 3430},/*T0*/
	{3450, 3460, 3470, 3480},/*T1*/
	{3500, 3510, 3520, 3530},/*T2*/
	{3550, 3460, 3470, 3480},/*T3*/
	{3600, 3610, 3620, 3630},/*T4*/
	{3601, 3611, 3621, 3631},/*T5*/
	{3602, 3612, 3622, 3632},/*T6*/
	{3603, 3613, 3623, 3633},/*T7*/
	{3604, 3614, 3624, 3634},/*T8*/
	{3605, 3615, 3625, 3635} /*T9*/
};

/* g_FG_PSEUDO1_OFFSET */
int g_FG_PSEUDO1_OFFSET[TOTAL_BATTERY_NUMBER] = {0, 0, 0, 0};

/* pmic_min_vol by temp ,control by MULTI_TEMP_GAUGE0=1, 34000=3.4v */
int g_PMIC_MIN_VOL[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{33500, 33500, 33500, 33500},/*T0*/
	{33500, 33500, 33500, 33500},/*T1*/
	{33500, 33500, 33500, 33500},/*T2*/
	{32200, 32200, 32200, 32200},/*T3*/
	{31000, 31000, 31000, 31000},/*T4*/
	{33001, 33006, 33009, 33004},/*T5*/
	{33002, 33007, 33008, 33003},/*T6*/
	{33003, 33008, 33007, 33002},/*T7*/
	{33004, 33009, 33006, 33001},/*T8*/
	{33005, 33010, 33005, 33000} /*T9*/
};

/* POWERON_SYSTEM_IBOOT by temp ,control by MULTI_TEMP_GAUGE0=1 ,5000 = 500ma*/
int g_PON_SYS_IBOOT[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{5000, 5000, 5000, 5000},/*T0*/
	{5000, 5000, 5000, 5000},/*T1*/
	{5000, 5000, 5000, 5000},/*T2*/
	{5000, 5000, 5000, 5000},/*T3*/
	{5000, 5000, 5000, 5000},/*T4*/
	{5000, 5000, 5000, 5000},/*T5*/
	{5000, 5000, 5000, 5000},/*T6*/
	{5000, 5000, 5000, 5000},/*T7*/
	{5000, 5000, 5000, 5000},/*T8*/
	{5000, 5000, 5000, 5000} /*T9*/
};

/* Q_MAX_SYS_VOLTAGE by temp ,control by MULTI_TEMP_GAUGE0=1, */
int g_QMAX_SYS_VOL[MAX_TABLE][TOTAL_BATTERY_NUMBER] = {
	/*bat1,   bat2,   bat3,    bat4*/
	{33500, 33500, 33500, 33500},/*T0*/
	{33500, 33500, 33500, 33500},/*T1*/
	{33500, 33500, 33500, 33500},/*T2*/
	{32900, 32900, 32900, 32900},/*T3*/
	{32800, 32800, 32800, 32800},/*T4*/
	{33500, 33500, 33500, 33500},/*T5*/
	{33500, 33500, 33500, 33500},/*T6*/
	{33500, 33500, 33500, 33500},/*T7*/
	{33500, 33500, 33500, 33500},/*T8*/
	{33500, 33500, 33500, 33500} /*T9*/
};


#define TEMPERATURE_TB0	255
#define TEMPERATURE_TB1	254

int g_temperature[MAX_TABLE] = {
	50,/*TEMPERATURE_T0*/
	25,/*TEMPERATURE_T1*/
	10,/*TEMPERATURE_T2*/
	0,/*TEMPERATURE_T3*/
	-10,/*TEMPERATURE_T4*/
	-25,/*TEMPERATURE_T5*/
	-30,/*TEMPERATURE_T6*/
	-35,/*TEMPERATURE_T7*/
	-40,/*TEMPERATURE_T8*/
	-45/*TEMPERATURE_T9*/
};


#define BAT_NTC_10 0
#define BAT_NTC_47 0
#define BAT_NTC_100 1

#if (BAT_NTC_10 == 1)
#define RBAT_PULL_UP_R             24000
#endif

#if (BAT_NTC_47 == 1)
#define RBAT_PULL_UP_R             61900
#endif

#if (BAT_NTC_100 == 1)
#define RBAT_PULL_UP_R             100000
#endif

#define RBAT_PULL_UP_VOLT          2800

#define BIF_NTC_R 16000

#if (BAT_NTC_10 == 1)
struct FUELGAUGE_TEMPERATURE Fg_Temperature_Table[21] = {
		{-40, 195652},
		{-35, 148171},
		{-30, 113347},
		{-25, 87559},
		{-20, 68237},
		{-15, 53650},
		{-10, 42506},
		{-5, 33892},
		{0, 27219},
		{5, 22021},
		{10, 17926},
		{15, 14674},
		{20, 12081},
		{25, 10000},
		{30, 8315},
		{35, 6948},
		{40, 5834},
		{45, 4917},
		{50, 4161},
		{55, 3535},
		{60, 3014}
};
#endif

#if (BAT_NTC_47 == 1)
struct FUELGAUGE_TEMPERATURE Fg_Temperature_Table[21] = {
		{-40, 1747920},
		{-35, 1245428},
		{-30, 898485},
		{-25, 655802},
		{-20, 483954},
		{-15, 360850},
		{-10, 271697},
		{-5, 206463},
		{0, 158214},
		{5, 122259},
		{10, 95227},
		{15, 74730},
		{20, 59065},
		{25, 47000},
		{30, 37643},
		{35, 30334},
		{40, 24591},
		{45, 20048},
		{50, 16433},
		{55, 13539},
		{60, 11210}
};
#endif

#if (BAT_NTC_100 == 1)
struct FUELGAUGE_TEMPERATURE Fg_Temperature_Table[21] = {
		{-40, 4251000},
		{-35, 3005000},
		{-30, 2149000},
		{-25, 1554000},
		{-20, 1135000},
		{-15, 837800},
		{-10, 624100},
		{-5, 469100},
		{0, 355600},
		{5, 271800},
		{10, 209400},
		{15, 162500},
		{20, 127000},
		{25, 100000},
		{30, 79230},
		{35, 63180},
		{40, 50680},
		{45, 40900},
		{50, 33190},
		{55, 27090},
		{60, 22220}
};
#endif


/* ============================================================
 * <DOD, Battery_Voltage> Table
 * ============================================================
 */



/* T0 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t0[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,	43550,	 880},
		{509,	43406,	 876},
		{1018,	43261,	 858},
		{1528,	43128,	 864},
		{2037,	43001,	 875},
		{2546,	42876,	 881},
		{3055,	42756,	 898},
		{3564,	42629,	 876},
		{4074,	42510,	 895},
		{4583,	42384,	 900},
		{5092,	42262,	 888},
		{5601,	42140,	 875},
		{6110,	42016,	 880},
		{6619,	41906,	 900},
		{7129,	41789,	 900},
		{7638,	41670,	 882},
		{8147,	41557,	 889},
		{8656,	41447,	 910},
		{9165,	41334,	 919},
		{9675,	41216,	 900},
		{10184,	 41106,	 900},
		{10693,	 40995,	 900},
		{11202,	 40892,	 916},
		{11711,	 40785,	 912},
		{12221,	 40678,	 909},
		{12730,	 40576,	 925},
		{13239,	 40474,	 925},
		{13748,	 40372,	 925},
		{14257,	 40278,	 925},
		{14767,	 40185,	 940},
		{15276,	 40091,	 950},
		{15785,	 39998,	 943},
		{16294,	 39906,	 929},
		{16803,	 39821,	 950},
		{17313,	 39736,	 971},
		{17822,	 39651,	 975},
		{18331,	 39572,	 988},
		{18840,	 39492,	 1000},
		{19349,	 39407,	 1006},
		{19858,	 39322,	 1029},
		{20368,	 39237,	 1071},
		{20877,	 39115,	 1037},
		{21386,	 38970,	 964},
		{21895,	 38845,	 914},
		{22404,	 38749,	 900},
		{22914,	 38668,	 896},
		{23423,	 38600,	 875},
		{23932,	 38540,	 896},
		{24441,	 38481,	 882},
		{24950,	 38427,	 889},
		{25460,	 38376,	 900},
		{25969,	 38325,	 900},
		{26478,	 38274,	 898},
		{26987,	 38223,	 876},
		{27496,	 38180,	 875},
		{28006,	 38138,	 875},
		{28515,	 38100,	 887},
		{29024,	 38063,	 892},
		{29533,	 38022,	 880},
		{30042,	 37989,	 900},
		{30552,	 37955,	 900},
		{31061,	 37921,	 900},
		{31570,	 37898,	 929},
		{32079,	 37877,	 950},
		{32588,	 37849,	 950},
		{33097,	 37816,	 953},
		{33607,	 37791,	 974},
		{34116,	 37765,	 996},
		{34625,	 37714,	 967},
		{35134,	 37644,	 925},
		{35643,	 37575,	 900},
		{36153,	 37520,	 900},
		{36662,	 37477,	 900},
		{37171,	 37435,	 900},
		{37680,	 37392,	 900},
		{38189,	 37350,	 900},
		{38699,	 37312,	 911},
		{39208,	 37278,	 925},
		{39717,	 37244,	 929},
		{40226,	 37210,	 950},
		{40735,	 37151,	 929},
		{41245,	 37085,	 908},
		{41754,	 37028,	 927},
		{42263,	 36969,	 950},
		{42772,	 36896,	 932},
		{43281,	 36817,	 875},
		{43791,	 36783,	 875},
		{44300,	 36772,	 895},
		{44809,	 36764,	 947},
		{45318,	 36750,	 999},
		{45827,	 36730,  1058},
		{46336,	 36678,  1112},
		{46846,	 36517,  1049},
		{47355,	 36110,  1006},
		{47864,	 35565,  1036},
		{48373,	 34840,  1106},
		{48882,	 33753,  1352},
		{49392,	 31938,  4303},
		{49901,  29470,  3725},
		{50410,	 29470,	 3725}
	},
	{
		{0,  43750,  900},
		{459,  43612,  900},
		{919,  43480,  900},
		{1378,  43352,  907},
		{1838,  43229,  923},
		{2297,  43099,  904},
		{2756,  42975,  900},
		{3216,  42852,  900},
		{3675,  42730,  900},
		{4135,  42607,  900},
		{4594,  42490,  988},
		{5053,  42371,  1012},
		{5513,  42249,  925},
		{5972,  42126,  925},
		{6432,  42010,  925},
		{6891,  41895,  925},
		{7350,  41779,  925},
		{7810,  41656,  925},
		{8269,  41540,  925},
		{8728,  41425,  925},
		{9188,  41312,  930},
		{9647,  41205,  949},
		{10107,  41098,  950},
		{10566,  40986,  950},
		{11025,  40874,  950},
		{11485,  40767,  951},
		{11944,  40667,  970},
		{12404,  40562,  961},
		{12863,  40458,  950},
		{13322,  40359,  952},
		{13782,  40259,  971},
		{14241,  40160,  975},
		{14701,  40068,  985},
		{15160,  39982,  1000},
		{15619,  39890,  1000},
		{16079,  39805,  1000},
		{16538,  39721,  1011},
		{16998,  39637,  1030},
		{17457,  39552,  1049},
		{17916,  39467,  1069},
		{18376,  39382,  1101},
		{18835,  39286,  1110},
		{19295,  39170,  1071},
		{19754,  39032,  1013},
		{20213,  38912,  971},
		{20673,  38811,  950},
		{21132,  38728,  947},
		{21592,  38651,  928},
		{22051,  38588,  925},
		{22510,  38527,  925},
		{22970,  38467,  925},
		{23429,  38414,  925},
		{23888,  38360,  925},
		{24348,  38306,  913},
		{24807,  38255,  906},
		{25267,  38209,  925},
		{25726,  38171,  925},
		{26185,  38127,  925},
		{26645,  38085,  925},
		{27104,  38046,  925},
		{27564,  38008,  925},
		{28023,  37976,  940},
		{28482,  37945,  950},
		{28942,  37915,  953},
		{29401,  37884,  973},
		{29861,  37853,  975},
		{30320,  37827,  986},
		{30779,  37800,  1000},
		{31239,  37762,  1000},
		{31698,  37723,  1000},
		{32158,  37660,  963},
		{32617,  37586,  925},
		{33076,  37518,  925},
		{33536,  37472,  925},
		{33995,  37432,  939},
		{34455,  37391,  942},
		{34914,  37345,  925},
		{35373,  37299,  925},
		{35833,  37265,  925},
		{36292,  37234,  935},
		{36752,  37200,  954},
		{37211,  37154,  973},
		{37670,  37087,  940},
		{38130,  37024,  925},
		{38589,  36963,  933},
		{39048,  36900,  948},
		{39508,  36824,  928},
		{39967,  36779,  842},
		{40427,  36756,  919},
		{40886,  36747,  954},
		{41345,  36732,  973},
		{41805,  36717,  1042},
		{42264,  36679,  1108},
		{42724,  36564,  1124},
		{43183,  36280,  1029},
		{43642,  35791,  1043},
		{44102,  35157,  1088},
		{44561,  34284,  1199},
		{45021,  33024,  1640},
		{45480,  30530,  6500}
	},
	{
		{0,	     43280, 975 },
		{301,	   43170, 975 },
		{601,	   43050, 1025},
		{902,	   42929, 1000},
		{1202,	 42819, 975 },
		{1503,	 42689, 950 },
		{1804,	 42579, 976 },
		{2104,	 42478, 1049},
		{2405,	 42348, 976 },
		{2705,	 42248, 1025},
		{3006,	 42148, 1050},
		{3307,	 42037, 1049},
		{3607,	 41917, 1026},
		{3908,	 41807, 1050},
		{4208,	 41707, 1050},
		{4509,	 41587, 1050},
		{4810,	 41483, 1052},
		{5110,	 41374, 1075},
		{5411,	 41282, 1075},
		{5712,	 41172, 1075},
		{6012,	 41063, 1073},
		{6313,	 40963, 1052},
		{6613,	 40871, 1075},
		{6914,	 40751, 1073},
		{7215,	 40643, 1060},
		{7515,	 40563, 1177},
		{7816,	 40482, 1196},
		{8116,	 40391, 1150},
		{8417,	 40292, 1146},
		{8718,	 40203, 1107},
		{9018,	 40122, 1175},
		{9319,	 40040, 1173},
		{9619,	 39942, 1152},
		{9920,	 39862, 1175},
		{10221,  39782, 1183},
		{10521,  39701, 1245},
		{10822,  39612, 1205},
		{11122,  39530, 1250},
		{11423,  39436, 1242},
		{11724,  39308, 1172},
		{12024,  39196, 1144},
		{12325,  39077, 1094},
		{12625,  38972, 1053},
		{12926,  38899, 1066},
		{13227,  38814, 1003},
		{13527,  38761, 1025},
		{13828,  38691, 1022},
		{14128,  38625, 1007},
		{14429,  38580, 1042},
		{14730,  38523, 1008},
		{15030,  38483, 1054},
		{15331,  38440, 1071},
		{15632,  38381, 1046},
		{15932,  38335, 1034},
		{16233,  38299, 1097},
		{16533,  38243, 1169},
		{16834,  38205, 1029},
		{17135,  38175, 1059},
		{17435,  38143, 1095},
		{17736,  38103, 1084},
		{18036,  38059, 1111},
		{18337,  38008, 1093},
		{18638,  37996, 1256},
		{18938,  37968, 1156},
		{19239,  37920, 1095},
		{19539,  37910, 1165},
		{19840,  37864, 1125},
		{20141,  37832, 1130},
		{20441,  37786, 1135},
		{20742,  37714, 1065},
		{21042,  37638, 1025},
		{21343,  37582, 1030},
		{21644,  37539, 1050},
		{21944,  37489, 1039},
		{22245,  37441, 1011},
		{22545,  37401, 1077},
		{22846,  37361, 1142},
		{23147,  37323, 1025},
		{23447,  37295, 1037},
		{23748,  37264, 1069},
		{24048,  37202, 1043},
		{24349,  37129, 1018},
		{24650,  37062, 1060},
		{24950,  37029, 1185},
		{25251,  36968, 1075},
		{25552,  36866, 1068},
		{25852,  36822, 1029},
		{26153,  36797, 989 },
		{26453,  36793, 1025},
		{26754,  36797, 1039},
		{27055,  36787, 1096},
		{27355,  36774, 1178},
		{27656,  36737, 1236},
		{27956,  36608, 1178},
		{28257,  36305, 1118},
		{28558,  35848, 1115},
		{28858,  35271, 1150},
		{29159,  34459, 1187},
		{29459,  33091, 1536},
		{29760,  29420, 8600}
	},
	{
		{0,	     43280, 975 },
		{301,	   43170, 975 },
		{601,	   43050, 1025},
		{902,	   42929, 1000},
		{1202,	 42819, 975 },
		{1503,	 42689, 950 },
		{1804,	 42579, 976 },
		{2104,	 42478, 1049},
		{2405,	 42348, 976 },
		{2705,	 42248, 1025},
		{3006,	 42148, 1050},
		{3307,	 42037, 1049},
		{3607,	 41917, 1026},
		{3908,	 41807, 1050},
		{4208,	 41707, 1050},
		{4509,	 41587, 1050},
		{4810,	 41483, 1052},
		{5110,	 41374, 1075},
		{5411,	 41282, 1075},
		{5712,	 41172, 1075},
		{6012,	 41063, 1073},
		{6313,	 40963, 1052},
		{6613,	 40871, 1075},
		{6914,	 40751, 1073},
		{7215,	 40643, 1060},
		{7515,	 40563, 1177},
		{7816,	 40482, 1196},
		{8116,	 40391, 1150},
		{8417,	 40292, 1146},
		{8718,	 40203, 1107},
		{9018,	 40122, 1175},
		{9319,	 40040, 1173},
		{9619,	 39942, 1152},
		{9920,	 39862, 1175},
		{10221,  39782, 1183},
		{10521,  39701, 1245},
		{10822,  39612, 1205},
		{11122,  39530, 1250},
		{11423,  39436, 1242},
		{11724,  39308, 1172},
		{12024,  39196, 1144},
		{12325,  39077, 1094},
		{12625,  38972, 1053},
		{12926,  38899, 1066},
		{13227,  38814, 1003},
		{13527,  38761, 1025},
		{13828,  38691, 1022},
		{14128,  38625, 1007},
		{14429,  38580, 1042},
		{14730,  38523, 1008},
		{15030,  38483, 1054},
		{15331,  38440, 1071},
		{15632,  38381, 1046},
		{15932,  38335, 1034},
		{16233,  38299, 1097},
		{16533,  38243, 1169},
		{16834,  38205, 1029},
		{17135,  38175, 1059},
		{17435,  38143, 1095},
		{17736,  38103, 1084},
		{18036,  38059, 1111},
		{18337,  38008, 1093},
		{18638,  37996, 1256},
		{18938,  37968, 1156},
		{19239,  37920, 1095},
		{19539,  37910, 1165},
		{19840,  37864, 1125},
		{20141,  37832, 1130},
		{20441,  37786, 1135},
		{20742,  37714, 1065},
		{21042,  37638, 1025},
		{21343,  37582, 1030},
		{21644,  37539, 1050},
		{21944,  37489, 1039},
		{22245,  37441, 1011},
		{22545,  37401, 1077},
		{22846,  37361, 1142},
		{23147,  37323, 1025},
		{23447,  37295, 1037},
		{23748,  37264, 1069},
		{24048,  37202, 1043},
		{24349,  37129, 1018},
		{24650,  37062, 1060},
		{24950,  37029, 1185},
		{25251,  36968, 1075},
		{25552,  36866, 1068},
		{25852,  36822, 1029},
		{26153,  36797, 989 },
		{26453,  36793, 1025},
		{26754,  36797, 1039},
		{27055,  36787, 1096},
		{27355,  36774, 1178},
		{27656,  36737, 1236},
		{27956,  36608, 1178},
		{28257,  36305, 1118},
		{28558,  35848, 1115},
		{28858,  35271, 1150},
		{29159,  34459, 1187},
		{29459,  33091, 1536},
		{29760,  29420, 8600}
	}

};

/* T1 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t1[TOTAL_BATTERY_NUMBER][100] = {
		{
		{0,	 43650,	 1080},
		{509,	 43514,	 1076},
		{1018,	 43385,	 1075},
		{1528,	 43258,	 1075},
		{2037,	 43135,	 1075},
		{2546,	 43014,	 1075},
		{3055,	 42887,	 1075},
		{3564,	 42768,	 1075},
		{4074,	 42642,	 1075},
		{4583,	 42521,	 1075},
		{5092,	 42402,	 1075},
		{5601,	 42286,	 1083},
		{6110,	 42172,	 1095},
		{6619,	 42046,	 1075},
		{7129,	 41937,	 1075},
		{7638,	 41820,	 1075},
		{8147,	 41707,	 1075},
		{8656,	 41597,	 1085},
		{9165,	 41484,	 1100},
		{9675,	 41366,	 1100},
		{10184,	 41256,	 1100},
		{10693,	 41145,	 1100},
		{11202,	 41035,	 1100},
		{11711,	 40930,	 1113},
		{12221,	 40831,	 1134},
		{12730,	 40744,	 1160},
		{13239,	 40676,	 1201},
		{13748,	 40608,	 1222},
		{14257,	 40481,	 1206},
		{14767,	 40315,	 1185},
		{15276,	 40150,	 1164},
		{15785,	 40015,	 1165},
		{16294,	 39922,	 1211},
		{16803,	 39871,	 1274},
		{17313,	 39820,	 1233},
		{17822,	 39762,	 1242},
		{18331,	 39692,	 1263},
		{18840,	 39615,	 1285},
		{19349,	 39537,	 1312},
		{19858,	 39451,	 1350},
		{20368,	 39358,	 1350},
		{20877,	 39251,	 1331},
		{21386,	 39128,	 1264},
		{21895,	 38997,	 1179},
		{22404,	 38873,	 1110},
		{22914,	 38774,	 1067},
		{23423,	 38690,	 1025},
		{23932,	 38622,	 1046},
		{24441,	 38561,	 1032},
		{24950,	 38501,	 1039},
		{25460,	 38442,	 1030},
		{25969,	 38388,	 1006},
		{26478,	 38344,	 1025},
		{26987,	 38293,	 1025},
		{27496,	 38250,	 1025},
		{28006,	 38208,	 1025},
		{28515,	 38170,	 1037},
		{29024,	 38133,	 1042},
		{29533,	 38092,  1030},
		{30042,	 38059,	 1050},
		{30552,	 38025,	 1050},
		{31061,	 37998,	 1068},
		{31570,	 37967,	 1075},
		{32079,	 37937,	 1075},
		{32588,	 37912,	 1082},
		{33097,	 37886,	 1100},
		{33607,	 37861,	 1100},
		{34116,	 37835,	 1121},
		{34625,	 37803,	 1108},
		{35134,	 37775,	 1100},
		{35643,	 37746,	 1091},
		{36153,	 37710,	 1070},
		{36662,	 37668,	 1050},
		{37171,	 37634,	 1050},
		{37680,	 37600,	 1050},
		{38189,	 37560,	 1035},
		{38699,	 37518,	 1025},
		{39208,	 37478,	 1025},
		{39717,	 37446,	 1029},
		{40226,	 37420,	 1050},
		{40735,	 37378,	 1050},
		{41245,	 37322,	 1050},
		{41754,	 37257,	 1037},
		{42263,	 37197,	 1035},
		{42772,	 37141,	 1050},
		{43281,	 37071,	 1050},
		{43791,	 36987,	 1050},
		{44300,	 36933,	 1030},
		{44809,	 36914,	 1057},
		{45318,	 36900,	 1075},
		{45827,	 36887,	 1091},
		{46336,	 36875,	 1143},
		{46846,	 36847,	 1226},
		{47355,	 36763,	 1269},
		{47864,	 36453,	 1221},
		{48373,	 35986,	 1242},
		{48882,	 35346,	 1326},
		{49392,	 34426,	 1495},
		{49901,	 32948,	 2771},
		{50410,	 30390,	 6250}
	},
	{
		{0,  43700,  1200},
		{459,  43577,  1200},
		{919,  43455,  1200},
		{1378,  43332,  1200},
		{1838,  43209,  1200},
		{2297,  43079,  1200},
		{2756,  42955,  1200},
		{3216,  42836,  1209},
		{3675,  42720,  1225},
		{4135,  42597,  1225},
		{4594,  42474,  1298},
		{5053,  42351,  1304},
		{5513,  42229,  1200},
		{5972,  42114,  1200},
		{6432,  42000,  1200},
		{6891,  41885,  1209},
		{7350,  41770,  1225},
		{7810,  41655,  1225},
		{8269,  41540,  1225},
		{8728,  41425,  1225},
		{9188,  41312,  1225},
		{9647,  41205,  1225},
		{10107,  41098,  1243},
		{10566,  40986,  1250},
		{11025,  40876,  1256},
		{11485,  40778,  1276},
		{11944,  40717,  1315},
		{12404,  40650,  1353},
		{12863,  40549,  1359},
		{13322,  40399,  1321},
		{13782,  40215,  1282},
		{14241,  40062,  1275},
		{14701,  39940,  1285},
		{15160,  39848,  1304},
		{15619,  39787,  1323},
		{16079,  39746,  1393},
		{16538,  39694,  1436},
		{16998,  39629,  1450},
		{17457,  39552,  1450},
		{17916,  39467,  1469},
		{18376,  39366,  1462},
		{18835,  39250,  1414},
		{19295,  39121,  1321},
		{19754,  38998,  1263},
		{20213,  38888,  1206},
		{20673,  38791,  1166},
		{21132,  38709,  1150},
		{21592,  38640,  1150},
		{22051,  38578,  1150},
		{22510,  38517,  1140},
		{22970,  38457,  1125},
		{23429,  38404,  1125},
		{23888,  38357,  1143},
		{24348,  38306,  1138},
		{24807,  38258,  1131},
		{25267,  38219,  1150},
		{25726,  38181,  1169},
		{26185,  38137,  1161},
		{26645,  38098,  1158},
		{27104,  38066,  1175},
		{27564,  38028,  1175},
		{28023,  37996,  1175},
		{28482,  37965,  1184},
		{28942,  37935,  1200},
		{29401,  37904,  1200},
		{29861,  37873,  1200},
		{30320,  37847,  1211},
		{30779,  37822,  1220},
		{31239,  37791,  1201},
		{31698,  37768,  1218},
		{32158,  37730,  1200},
		{32617,  37687,  1168},
		{33076,  37649,  1150},
		{33536,  37618,  1150},
		{33995,  37582,  1150},
		{34455,  37544,  1150},
		{34914,  37506,  1150},
		{35373,  37467,  1150},
		{35833,  37435,  1166},
		{36292,  37400,  1175},
		{36752,  37358,  1175},
		{37211,  37305,  1175},
		{37670,  37244,  1193},
		{38130,  37183,  1200},
		{38589,  37119,  1200},
		{39048,  37050,  1200},
		{39508,  36966,  1181},
		{39967,  36919,  1188},
		{40427,  36894,  1207},
		{40886,  36879,  1230},
		{41345,  36872,  1287},
		{41805,  36852,  1344},
		{42264,  36808,  1402},
		{42724,  36702,  1447},
		{43183,  36404,  1428},
		{43642,  35909,  1474},
		{44102,  35246,  1573},
		{44561,  34321,  1791},
		{45021,  32920,  2269},
		{45480,  30140,  5500}
	},
	{
		{0,	     43200, 1050},
		{301,	   43080, 1300},
		{601,	   42960, 1350},
		{902,	   42839, 1300},
		{1202,	 42719, 1325},
		{1503,	 42619, 1350},
		{1804,	 42509, 1375},
		{2104,	 42388, 1401},
		{2405,	 42278, 1450},
		{2705,	 42168, 1450},
		{3006,	 42067, 1474},
		{3307,	 41938, 1449},
		{3607,	 41837, 1424},
		{3908,	 41727, 1400},
		{4208,	 41617, 1401},
		{4509,	 41527, 1450},
		{4810,	 41413, 1448},
		{5110,	 41313, 1425},
		{5411,	 41212, 1427},
		{5712,	 41093, 1448},
		{6012,	 40993, 1429},
		{6313,	 40893, 1475},
		{6613,	 40803, 1475},
		{6914,	 40716, 1481},
		{7215,	 40665, 1550},
		{7515,	 40599, 1550},
		{7816,	 40465, 1541},
		{8116,	 40289, 1454},
		{8417,	 40159, 1502},
		{8718,	 40043, 1525},
		{9018,	 39964, 1530},
		{9319,	 39905, 1589},
		{9619,	 39854, 1720},
		{9920,	 39792, 1670},
		{10221,  39712, 1625},
		{10521,  39628, 1617},
		{10822,  39509, 1550},
		{11122,  39408, 1545},
		{11423,  39297, 1497},
		{11724,  39177, 1472},
		{12024,  39060, 1447},
		{12325,  38970, 1419},
		{12625,  38884, 1381},
		{12926,  38830, 1413},
		{13227,  38754, 1328},
		{13527,  38703, 1350},
		{13828,  38644, 1350},
		{14128,  38591, 1340},
		{14429,  38523, 1279},
		{14730,  38483, 1308},
		{15030,  38438, 1342},
		{15331,  38377, 1313},
		{15632,  38355, 1371},
		{15932,  38321, 1354},
		{16233,  38271, 1371},
		{16533,  38225, 1354},
		{16834,  38193, 1366},
		{17135,  38155, 1334},
		{17435,  38124, 1380},
		{17736,  38094, 1405},
		{18036,  38062, 1425},
		{18337,  38022, 1416},
		{18638,  37988, 1389},
		{18938,  37972, 1450},
		{19239,  37934, 1450},
		{19539,  37904, 1450},
		{19840,  37870, 1440},
		{20141,  37824, 1390},
		{20441,  37792, 1355},
		{20742,  37752, 1375},
		{21042,  37712, 1380},
		{21343,  37672, 1400},
		{21644,  37629, 1400},
		{21944,  37584, 1395},
		{22245,  37554, 1386},
		{22545,  37523, 1425},
		{22846,  37491, 1419},
		{23147,  37453, 1406},
		{23447,  37418, 1413},
		{23748,  37364, 1381},
		{24048,  37304, 1387},
		{24349,  37239, 1337},
		{24650,  37172, 1320},
		{24950,  37129, 1368},
		{25251,  37048, 1343},
		{25552,  36982, 1318},
		{25852,  36960, 1321},
		{26153,  36957, 1382},
		{26453,  36942, 1393},
		{26754,  36920, 1396},
		{27055,  36909, 1450},
		{27355,  36863, 1471},
		{27656,  36743, 1504},
		{27956,  36423, 1457},
		{28257,  35951, 1497},
		{28558,  35341, 1579},
		{28858,  34475, 1731},
		{29159,  32837, 5201},
		{29459,  28212, 5733},
		{29760,  28180, 5625}
	},
	{
		{0,	     43200, 1050},
		{301,	   43080, 1300},
		{601,	   42960, 1350},
		{902,	   42839, 1300},
		{1202,	 42719, 1325},
		{1503,	 42619, 1350},
		{1804,	 42509, 1375},
		{2104,	 42388, 1401},
		{2405,	 42278, 1450},
		{2705,	 42168, 1450},
		{3006,	 42067, 1474},
		{3307,	 41938, 1449},
		{3607,	 41837, 1424},
		{3908,	 41727, 1400},
		{4208,	 41617, 1401},
		{4509,	 41527, 1450},
		{4810,	 41413, 1448},
		{5110,	 41313, 1425},
		{5411,	 41212, 1427},
		{5712,	 41093, 1448},
		{6012,	 40993, 1429},
		{6313,	 40893, 1475},
		{6613,	 40803, 1475},
		{6914,	 40716, 1481},
		{7215,	 40665, 1550},
		{7515,	 40599, 1550},
		{7816,	 40465, 1541},
		{8116,	 40289, 1454},
		{8417,	 40159, 1502},
		{8718,	 40043, 1525},
		{9018,	 39964, 1530},
		{9319,	 39905, 1589},
		{9619,	 39854, 1720},
		{9920,	 39792, 1670},
		{10221,  39712, 1625},
		{10521,  39628, 1617},
		{10822,  39509, 1550},
		{11122,  39408, 1545},
		{11423,  39297, 1497},
		{11724,  39177, 1472},
		{12024,  39060, 1447},
		{12325,  38970, 1419},
		{12625,  38884, 1381},
		{12926,  38830, 1413},
		{13227,  38754, 1328},
		{13527,  38703, 1350},
		{13828,  38644, 1350},
		{14128,  38591, 1340},
		{14429,  38523, 1279},
		{14730,  38483, 1308},
		{15030,  38438, 1342},
		{15331,  38377, 1313},
		{15632,  38355, 1371},
		{15932,  38321, 1354},
		{16233,  38271, 1371},
		{16533,  38225, 1354},
		{16834,  38193, 1366},
		{17135,  38155, 1334},
		{17435,  38124, 1380},
		{17736,  38094, 1405},
		{18036,  38062, 1425},
		{18337,  38022, 1416},
		{18638,  37988, 1389},
		{18938,  37972, 1450},
		{19239,  37934, 1450},
		{19539,  37904, 1450},
		{19840,  37870, 1440},
		{20141,  37824, 1390},
		{20441,  37792, 1355},
		{20742,  37752, 1375},
		{21042,  37712, 1380},
		{21343,  37672, 1400},
		{21644,  37629, 1400},
		{21944,  37584, 1395},
		{22245,  37554, 1386},
		{22545,  37523, 1425},
		{22846,  37491, 1419},
		{23147,  37453, 1406},
		{23447,  37418, 1413},
		{23748,  37364, 1381},
		{24048,  37304, 1387},
		{24349,  37239, 1337},
		{24650,  37172, 1320},
		{24950,  37129, 1368},
		{25251,  37048, 1343},
		{25552,  36982, 1318},
		{25852,  36960, 1321},
		{26153,  36957, 1382},
		{26453,  36942, 1393},
		{26754,  36920, 1396},
		{27055,  36909, 1450},
		{27355,  36863, 1471},
		{27656,  36743, 1504},
		{27956,  36423, 1457},
		{28257,  35951, 1497},
		{28558,  35341, 1579},
		{28858,  34475, 1731},
		{29159,  32837, 5201},
		{29459,  28212, 5733},
		{29760,  28180, 5625}
	}

};

/* T2 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t2[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,	 43640,	 1900},
		{509,	43513,	1900},
		{1018,	43385,	1970},
		{1528,	43253,	1986},
		{2037,	43121,	1975},
		{2546,	42996,	1975},
		{3055,	42877,	1975},
		{3564,	42758,	1975},
		{4074,	42632,	1936},
		{4583,	42511,	1941},
		{5092,	42392,	1938},
		{5601,	42273,	1917},
		{6110,	42156,	1905},
		{6619,	42046,	1925},
		{7129,	41937,	1925},
		{7638,	41820,	1907},
		{8147,	41707,	1914},
		{8656,	41597,	1925},
		{9165,	41486,	1925},
		{9675,	41376,	1928},
		{10184,	41266,	1949},
		{10693,	41155,	1950},
		{11202,	41052,	1966},
		{11711,	40950,	1962},
		{12221,	40858,	1968},
		{12730,	40788,	2030},
		{13239,	40735,	2152},
		{13748,	40641,	2195},
		{14257,	40481,	2144},
		{14767,	40287,	2066},
		{15276,	40110,	2025},
		{15785,	39972,	2025},
		{16294,	39866,	2025},
		{16803,	39781,	2025},
		{17313,	39713,	2067},
		{17822,	39666,	2109},
		{18331,	39623,	2152},
		{18840,	39569,	2165},
		{19349,	39494,	2150},
		{19858,	39400,	2146},
		{20368,	39298,	2104},
		{20877,	39191,	2043},
		{21386,	39075,	1979},
		{21895,	38956,	1893},
		{22404,	38846,	1810},
		{22914,	38754,	1771},
		{23423,	38670,	1750},
		{23932,	38602,	1729},
		{24441,	38541,	1743},
		{24950,	38481,	1736},
		{25460,	38426,	1725},
		{25969,	38375,	1725},
		{26478,	38325,	1727},
		{26987,	38283,	1749},
		{27496,	38240,	1770},
		{28006,	38198,	1759},
		{28515,	38155,	1750},
		{29024,	38116,	1758},
		{29533,	38082,	1775},
		{30042,	38049,	1776},
		{30552,	38015,	1797},
		{31061,	37981,	1800},
		{31570,	37953,	1800},
		{32079,	37927,	1811},
		{32588,	37902,	1825},
		{33097,	37876,	1825},
		{33607,	37851,	1825},
		{34116,	37825,	1825},
		{34625,	37807,	1825},
		{35134,	37795,	1838},
		{35643,	37783,	1850},
		{36153,	37766,	1855},
		{36662,	37748,	1874},
		{37171,	37723,	1852},
		{37680,	37697,	1888},
		{38189,	37660,	1885},
		{38699,	37618,	1875},
		{39208,	37578,	1890},
		{39717,	37544,	1932},
		{40226,	37510,	1975},
		{40735,	37459,	1996},
		{41245,	37409,	2035},
		{41754,	37347,	2077},
		{42263,	37283,	2119},
		{42772,	37221,	2162},
		{43281,	37151,	2206},
		{43791,	37067,	2270},
		{44300,	36997,	2314},
		{44809,	36967,	2388},
		{45318,	36950,	2497},
		{45827,	36933,	2633},
		{46336,	36913,	2785},
		{46846,	36877,	2958},
		{47355,	36793,	3234},
		{47864,	36520,	3420},
		{48373,	36054,	3658},
		{48882,	35394,	4083},
		{49392,	34436,	4841},
		{49901,	32887,	6399},
		{50410,	29910,	5000}
	},
	{
		{0,  43740,  2430},
		{459,  43587,  2426},
		{919,  43444,  2438},
		{1378,  43307,  2443},
		{1838,  43169,  2425},
		{2297,  43039,  2425},
		{2756,  42915,  2425},
		{3216,  42792,  2416},
		{3675,  42670,  2397},
		{4135,  42547,  2378},
		{4594,  42424,  2537},
		{5053,  42304,  2558},
		{5513,  42189,  2350},
		{5972,  42074,  2350},
		{6432,  41966,  2350},
		{6891,  41855,  2350},
		{7350,  41740,  2347},
		{7810,  41625,  2328},
		{8269,  41517,  2342},
		{8728,  41405,  2350},
		{9188,  41291,  2345},
		{9647,  41176,  2326},
		{10107,  41068,  2343},
		{10566,  40966,  2338},
		{11025,  40877,  2344},
		{11485,  40808,  2405},
		{11944,  40747,  2558},
		{12404,  40647,  2600},
		{12863,  40506,  2560},
		{13322,  40329,  2466},
		{13782,  40145,  2390},
		{14241,  39992,  2360},
		{14701,  39870,  2340},
		{15160,  39777,  2336},
		{15619,  39708,  2394},
		{16079,  39645,  2434},
		{16538,  39589,  2472},
		{16998,  39531,  2505},
		{17457,  39462,  2524},
		{17916,  39369,  2468},
		{18376,  39266,  2411},
		{18835,  39156,  2346},
		{19295,  39042,  2269},
		{19754,  38935,  2193},
		{20213,  38839,  2160},
		{20673,  38751,  2132},
		{21132,  38669,  2100},
		{21592,  38600,  2100},
		{22051,  38531,  2084},
		{22510,  38471,  2085},
		{22970,  38417,  2100},
		{23429,  38364,  2100},
		{23888,  38317,  2118},
		{24348,  38266,  2113},
		{24807,  38218,  2106},
		{25267,  38179,  2125},
		{25726,  38141,  2144},
		{26185,  38097,  2150},
		{26645,  38058,  2158},
		{27104,  38026,  2175},
		{27564,  37988,  2175},
		{28023,  37956,  2190},
		{28482,  37925,  2200},
		{28942,  37896,  2203},
		{29401,  37873,  2223},
		{29861,  37850,  2225},
		{30320,  37827,  2225},
		{30779,  37806,  2230},
		{31239,  37791,  2249},
		{31698,  37775,  2268},
		{32158,  37765,  2312},
		{32617,  37752,  2350},
		{33076,  37729,  2351},
		{33536,  37706,  2390},
		{33995,  37672,  2400},
		{34455,  37631,  2416},
		{34914,  37586,  2454},
		{35373,  37547,  2493},
		{35833,  37508,  2547},
		{36292,  37466,  2605},
		{36752,  37416,  2671},
		{37211,  37355,  2767},
		{37670,  37294,  2863},
		{38130,  37228,  2958},
		{38589,  37157,  3060},
		{39048,  37080,  3175},
		{39508,  36996,  3270},
		{39967,  36944,  3432},
		{40427,  36911,  3631},
		{40886,  36888,  3846},
		{41345,  36865,  4114},
		{41805,  36825,  4426},
		{42264,  36754,  4814},
		{42724,  36622,  5264},
		{43183,  36324,  5666},
		{43642,  35809,  6216},
		{44102,  35098,  7042},
		{44561,  34075,  8442},
		{45021,  32487,  10992},
		{45480,  30100,  5550}
	},
	{
		{0,	     43030, 1900 },
		{301,    42880, 2100 },
		{601,	   42770, 2200 },
		{902,	   42649, 2225 },
		{1202,	 42519, 2200 },
		{1503,	 42409, 2225 },
		{1804,	 42299, 2225 },
		{2104,	 42179, 2225 },
		{2405,	 42078, 2250 },
		{2705,	 41978, 2250 },
		{3006,	 41868, 2275 },
		{3307,	 41748, 2276 },
		{3607,	 41648, 2301 },
		{3908,	 41557, 2325 },
		{4208,	 41447, 2326 },
		{4509,	 41337, 2351 },
		{4810,	 41233, 2375 },
		{5110,	 41123, 2375 },
		{5411,	 41023, 2375 },
		{5712,	 40925, 2377 },
		{6012,	 40856, 2404 },
		{6313,	 40796, 2458 },
		{6613,	 40742, 2550 },
		{6914,	 40639, 2546 },
		{7215,	 40494, 2498 },
		{7515,	 40307, 2475 },
		{7816,	 40150, 2479 },
		{8116,	 40029, 2523 },
		{8417,	 39913, 2504 },
		{8718,	 39835, 2555 },
		{9018,	 39785, 2598 },
		{9319,	 39733, 2577 },
		{9619,	 39665, 2600 },
		{9920,	 39610, 2598 },
		{10221,  39510, 2567 },
		{10521,  39408, 2492 },
		{10822,  39287, 2414 },
		{11122,  39168, 2320 },
		{11423,  39060, 2272 },
		{11724,  38972, 2253 },
		{12024,  38900, 2266 },
		{12325,  38813, 2203 },
		{12625,  38754, 2228 },
		{12926,  38700, 2241 },
		{13227,  38625, 2181 },
		{13527,  38583, 2225 },
		{13828,  38525, 2231 },
		{14128,  38485, 2278 },
		{14429,  38442, 2292 },
		{14730,  38392, 2242 },
		{15030,  38345, 2217 },
		{15331,  38313, 2300 },
		{15632,  38270, 2291 },
		{15932,  38215, 2259 },
		{16233,  38186, 2309 },
		{16533,  38163, 2346 },
		{16834,  38125, 2325 },
		{17135,  38093, 2325 },
		{17435,  38054, 2330 },
		{17736,  38024, 2345 },
		{18036,  37994, 2334 },
		{18337,  37966, 2375 },
		{18638,  37942, 2380 },
		{18938,  37906, 2395 },
		{19239,  37884, 2375 },
		{19539,  37858, 2385 },
		{19840,  37840, 2410 },
		{20141,  37798, 2355 },
		{20441,  37784, 2385 },
		{20742,  37754, 2415 },
		{21042,  37720, 2375 },
		{21343,  37676, 2375 },
		{21644,  37652, 2375 },
		{21944,  37611, 2370 },
		{22245,  37576, 2366 },
		{22545,  37549, 2420 },
		{22846,  37499, 2400 },
		{23147,  37449, 2411 },
		{23447,  37398, 2444 },
		{23748,  37347, 2444 },
		{24048,  37292, 2480 },
		{24349,  37222, 2432 },
		{24650,  37149, 2450 },
		{24950,  37077, 2463 },
		{25251,  37032, 2493 },
		{25552,  37013, 2509 },
		{25852,  37012, 2593 },
		{26153,  36990, 2616 },
		{26453,  36982, 2732 },
		{26754,  36949, 2806 },
		{27055,  36869, 2943 },
		{27355,  36626, 2918 },
		{27656,  36188, 2943 },
		{27956,  35608, 3108 },
		{28257,  34814, 3337 },
		{28558,  33483, 4112 },
		{28858,  30540, 11925},
		{29159,  30540, 11925},
		{29459,  30540, 11925},
		{29760,  30540, 11925}
	},
	{
		{0,	     43030, 1900 },
		{301,    42880, 2100 },
		{601,	   42770, 2200 },
		{902,	   42649, 2225 },
		{1202,	 42519, 2200 },
		{1503,	 42409, 2225 },
		{1804,	 42299, 2225 },
		{2104,	 42179, 2225 },
		{2405,	 42078, 2250 },
		{2705,	 41978, 2250 },
		{3006,	 41868, 2275 },
		{3307,	 41748, 2276 },
		{3607,	 41648, 2301 },
		{3908,	 41557, 2325 },
		{4208,	 41447, 2326 },
		{4509,	 41337, 2351 },
		{4810,	 41233, 2375 },
		{5110,	 41123, 2375 },
		{5411,	 41023, 2375 },
		{5712,	 40925, 2377 },
		{6012,	 40856, 2404 },
		{6313,	 40796, 2458 },
		{6613,	 40742, 2550 },
		{6914,	 40639, 2546 },
		{7215,	 40494, 2498 },
		{7515,	 40307, 2475 },
		{7816,	 40150, 2479 },
		{8116,	 40029, 2523 },
		{8417,	 39913, 2504 },
		{8718,	 39835, 2555 },
		{9018,	 39785, 2598 },
		{9319,	 39733, 2577 },
		{9619,	 39665, 2600 },
		{9920,	 39610, 2598 },
		{10221,  39510, 2567 },
		{10521,  39408, 2492 },
		{10822,  39287, 2414 },
		{11122,  39168, 2320 },
		{11423,  39060, 2272 },
		{11724,  38972, 2253 },
		{12024,  38900, 2266 },
		{12325,  38813, 2203 },
		{12625,  38754, 2228 },
		{12926,  38700, 2241 },
		{13227,  38625, 2181 },
		{13527,  38583, 2225 },
		{13828,  38525, 2231 },
		{14128,  38485, 2278 },
		{14429,  38442, 2292 },
		{14730,  38392, 2242 },
		{15030,  38345, 2217 },
		{15331,  38313, 2300 },
		{15632,  38270, 2291 },
		{15932,  38215, 2259 },
		{16233,  38186, 2309 },
		{16533,  38163, 2346 },
		{16834,  38125, 2325 },
		{17135,  38093, 2325 },
		{17435,  38054, 2330 },
		{17736,  38024, 2345 },
		{18036,  37994, 2334 },
		{18337,  37966, 2375 },
		{18638,  37942, 2380 },
		{18938,  37906, 2395 },
		{19239,  37884, 2375 },
		{19539,  37858, 2385 },
		{19840,  37840, 2410 },
		{20141,  37798, 2355 },
		{20441,  37784, 2385 },
		{20742,  37754, 2415 },
		{21042,  37720, 2375 },
		{21343,  37676, 2375 },
		{21644,  37652, 2375 },
		{21944,  37611, 2370 },
		{22245,  37576, 2366 },
		{22545,  37549, 2420 },
		{22846,  37499, 2400 },
		{23147,  37449, 2411 },
		{23447,  37398, 2444 },
		{23748,  37347, 2444 },
		{24048,  37292, 2480 },
		{24349,  37222, 2432 },
		{24650,  37149, 2450 },
		{24950,  37077, 2463 },
		{25251,  37032, 2493 },
		{25552,  37013, 2509 },
		{25852,  37012, 2593 },
		{26153,  36990, 2616 },
		{26453,  36982, 2732 },
		{26754,  36949, 2806 },
		{27055,  36869, 2943 },
		{27355,  36626, 2918 },
		{27656,  36188, 2943 },
		{27956,  35608, 3108 },
		{28257,  34814, 3337 },
		{28558,  33483, 4112 },
		{28858,  30540, 11925},
		{29159,  30540, 11925},
		{29459,  30540, 11925},
		{29760,  30540, 11925}
	}

};

/* T3 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t3[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,	43700,	3650},
		{509,	43530,	3650},
		{1018,	43381,	3702},
		{1528,	43237,	3711},
		{2037,	43101,	3700},
		{2546,	42974,	3694},
		{3055,	42847,	3675},
		{3564,	42728,	3675},
		{4074,	42610,	3655},
		{4583,	42491,	3634},
		{5092,	42372,	3625},
		{5601,	42253,	3608},
		{6110,	42134,	3570},
		{6619,	42016,	3549},
		{7129,	41907,	3528},
		{7638,	41797,	3507},
		{8147,	41687,	3486},
		{8656,	41581,	3434},
		{9165,	41476,	3362},
		{9675,	41366,	3320},
		{10184,	41256,	3277},
		{10693,	41145,	3235},
		{11202,	41042,	3209},
		{11711,	40955,	3238},
		{12221,	40882,	3328},
		{12730,	40812,	3445},
		{13239,	40734,	3525},
		{13748,	40623,	3525},
		{14257,	40446,	3413},
		{14767,	40253,	3286},
		{15276,	40080,	3192},
		{15785,	39939,	3143},
		{16294,	39826,	3125},
		{16803,	39741,	3125},
		{17313,	39665,	3146},
		{17822,	39602,	3167},
		{18331,	39548,	3202},
		{18840,	39489,	3215},
		{19349, 39414,	3183},
		{19858,	39320,	3119},
		{20368,	39218,	3055},
		{20877,	39118,	2973},
		{21386,	39011,	2889},
		{21895,	38905,	2816},
		{22404,	38809,	2752},
		{22914,	38726,	2696},
		{23423,	38650,	2675},
		{23932,	38582,	2675},
		{24441,	38514,	2640},
		{24950,	38457,	2639},
		{25460,	38406,	2650},
		{25969,	38355,	2650},
		{26478,	38304,	2650},
		{26987,	38253,	2650},
		{27496,	38218,	2670},
		{28006,	38178,	2675},
		{28515,	38135,	2675},
		{29024,	38096,	2683},
		{29533,	38062,	2705},
		{30042,	38029,	2725},
		{30552,	37995,	2725},
		{31061,	37968,	2743},
		{31570,	37937,	2750},
		{32079,	37907,	2761},
		{32588,	37884,	2782},
		{33097,	37867,	2803},
		{33607,	37850,	2824},
		{34116,	37842,	2846},
		{34625,	37827,	2867},
		{35134,	37815,	2900},
		{35643,	37803,	2943},
		{36153,	37786,	2985},
		{36662,	37769,	3029},
		{37171,	37752,	3093},
		{37680,	37727,	3156},
		{38189,	37696,	3205},
		{38699,	37662,	3259},
		{39208,	37625,	3330},
		{39717,	37583,	3414},
		{40226,	37540,	3499},
		{40735,	37489,	3626},
		{41245,	37432,	3771},
		{41754,	37372,	3919},
		{42263,	37309,	4078},
		{42772,	37241,	4253},
		{43281,	37171,	4442},
		{43791,	37087,	4612},
		{44300,	37025,	4801},
		{44809,	36985,	5039},
		{45318,	36956,	5306},
		{45827,	36930,	5615},
		{46336,	36901,	5989},
		{46846,	36857,	6417},
		{47355,	36755,	6969},
		{47864,	36494,	7502},
		{48373,	36051,	8125},
		{48882,	35408,	9081},
		{49392,	34466,	10689},
		{49901,	33010,	12213},
		{50410,	30380,	6250}
	},
	{
		{0,  43750,  4850},
		{459,  43574,  4850},
		{919,  43403,  4930},
		{1378,  43241,  4978},
		{1838,  43089,  4927},
		{2297,  42951,  4946},
		{2756,  42813,  4905},
		{3216,  42682,  4857},
		{3675,  42559,  4819},
		{4135,  42429,  4780},
		{4594,  42304,  5098},
		{5053,  42181,  5142},
		{5513,  42059,  4723},
		{5972,  41944,  4704},
		{6432,  41836,  4685},
		{6891,  41725,  4657},
		{7350,  41611,  4628},
		{7810,  41504,  4647},
		{8269,  41390,  4600},
		{8728,  41275,  4586},
		{9188,  41162,  4585},
		{9647,  41055,  4528},
		{10107,  40977,  4580},
		{10566,  40901,  4674},
		{11025,  40819,  4763},
		{11485,  40726,  4799},
		{11944,  40596,  4760},
		{12404,  40438,  4667},
		{12863,  40266,  4544},
		{13322,  40094,  4423},
		{13782,  39956,  4404},
		{14241,  39843,  4385},
		{14701,  39748,  4375},
		{15160,  39667,  4386},
		{15619,  39598,  4444},
		{16079,  39522,  4467},
		{16538,  39445,  4464},
		{16998,  39367,  4450},
		{17457,  39282,  4450},
		{17916,  39182,  4374},
		{18376,  39082,  4324},
		{18835,  38982,  4264},
		{19295,  38884,  4175},
		{19754,  38799,  4175},
		{20213,  38715,  4146},
		{20673,  38635,  4116},
		{21132,  38560,  4103},
		{21592,  38499,  4122},
		{22051,  38438,  4141},
		{22510,  38381,  4160},
		{22970,  38327,  4170},
		{23429,  38274,  4151},
		{23888,  38227,  4186},
		{24348,  38181,  4212},
		{24807,  38138,  4231},
		{25267,  38099,  4251},
		{25726,  38061,  4289},
		{26185,  38023,  4286},
		{26645,  37988,  4298},
		{27104,  37957,  4350},
		{27564,  37926,  4350},
		{28023,  37908,  4395},
		{28482,  37893,  4444},
		{28942,  37877,  4482},
		{29401,  37862,  4520},
		{29861,  37847,  4592},
		{30320,  37836,  4668},
		{30779,  37826,  4755},
		{31239,  37811,  4870},
		{31698,  37795,  4966},
		{32158,  37780,  5062},
		{32617,  37762,  5164},
		{33076,  37739,  5280},
		{33536,  37716,  5414},
		{33995,  37688,  5562},
		{34455,  37651,  5707},
		{34914,  37606,  5850},
		{35373,  37567,  6060},
		{35833,  37522,  6258},
		{36292,  37468,  6461},
		{36752,  37406,  6680},
		{37211,  37345,  6929},
		{37670,  37277,  7195},
		{38130,  37208,  7475},
		{38589,  37137,  7779},
		{39048,  37060,  8124},
		{39508,  36991,  8487},
		{39967,  36938,  8970},
		{40427,  36892,  9521},
		{40886,  36848,  10104},
		{41345,  36817,  10793},
		{41805,  36763,  11615},
		{42264,  36666,  12495},
		{42724,  36506,  13360},
		{43183,  36230,  14050},
		{43642,  35771,  14559},
		{44102,  35122,  15279},
		{44561,  34245,  15391},
		{45021,  32627,  11657},
		{45480,  31650,  9150}
	},
	{
		{0,	     42730, 2575 },
		{301,	   42550, 3300 },
		{601,	   42409, 3375 },
		{902,	   42269, 3475 },
		{1202,	 42159, 3526 },
		{1503,	 42059, 3600 },
		{1804,	 41949, 3601 },
		{2104,	 41848, 3675 },
		{2405,	 41738, 3700 },
		{2705,	 41638, 3725 },
		{3006,	 41538, 3750 },
		{3307,	 41418, 3751 },
		{3607,	 41318, 3801 },
		{3908,	 41217, 3825 },
		{4208,	 41107, 3826 },
		{4509,	 41017, 3851 },
		{4810,	 40926, 3875 },
		{5110,	 40868, 3885 },
		{5411,	 40834, 4028 },
		{5712,	 40749, 4070 },
		{6012,	 40587, 4002 },
		{6313,	 40414, 4021 },
		{6613,	 40208, 3975 },
		{6914,	 40060, 3973 },
		{7215,	 39932, 3954 },
		{7515,	 39833, 4002 },
		{7816,	 39753, 4025 },
		{8116,	 39676, 4027 },
		{8417,	 39624, 4050 },
		{8718,	 39554, 4048 },
		{9018,	 39490, 4018 },
		{9319,	 39381, 3948 },
		{9619,	 39289, 3918 },
		{9920,	 39179, 3840 },
		{10221,  39072, 3750 },
		{10521,  38991, 3747 },
		{10822,  38903, 3725 },
		{11122,  38832, 3714 },
		{11423,  38763, 3633 },
		{11724,  38706, 3706 },
		{12024,  38663, 3750 },
		{12325,  38604, 3747 },
		{12625,  38554, 3728 },
		{12926,  38503, 3753 },
		{13227,  38445, 3778 },
		{13527,  38405, 3803 },
		{13828,  38364, 3819 },
		{14128,  38316, 3785 },
		{14429,  38282, 3850 },
		{14730,  38235, 3858 },
		{15030,  38203, 3896 },
		{15331,  38165, 3883 },
		{15632,  38133, 3929 },
		{15932,  38095, 3950 },
		{16233,  38065, 3959 },
		{16533,  38033, 3991 },
		{16834,  37996, 3959 },
		{17135,  37975, 4005 },
		{17435,  37946, 4030 },
		{17736,  37924, 4050 },
		{18036,  37896, 4059 },
		{18337,  37876, 4109 },
		{18638,  37852, 4140 },
		{18938,  37818, 4105 },
		{19239,  37804, 4120 },
		{19539,  37776, 4105 },
		{19840,  37752, 4125 },
		{20141,  37714, 4120 },
		{20441,  37684, 4110 },
		{20742,  37658, 4155 },
		{21042,  37642, 4170 },
		{21343,  37599, 4150 },
		{21644,  37554, 4166 },
		{21944,  37517, 4225 },
		{22245,  37457, 4236 },
		{22545,  37397, 4275 },
		{22846,  37339, 4292 },
		{23147,  37284, 4350 },
		{23447,  37211, 4356 },
		{23748,  37134, 4381 },
		{24048,  37087, 4433 },
		{24349,  37075, 4538 },
		{24650,  37055, 4615 },
		{24950,  37037, 4772 },
		{25251,  37022, 4934 },
		{25552,  36984, 5079 },
		{25852,  36896, 5266 },
		{26153,  36678, 5396 },
		{26453,  36268, 5526 },
		{26754,  35713, 5844 },
		{27055,  34954, 6319 },
		{27355,  33750, 7523 },
		{27656,  31528, 13715},
		{27956,  29540, 9925 },
		{28257,  29540, 9925 },
		{28558,  29540, 9925 },
		{28858,  29540, 9925 },
		{29159,  29540, 9925 },
		{29459,  29540, 9925 },
		{29760,  29540, 9925 }
	},
	{
		{0,	     42730, 2575 },
		{301,	   42550, 3300 },
		{601,	   42409, 3375 },
		{902,	   42269, 3475 },
		{1202,	 42159, 3526 },
		{1503,	 42059, 3600 },
		{1804,	 41949, 3601 },
		{2104,	 41848, 3675 },
		{2405,	 41738, 3700 },
		{2705,	 41638, 3725 },
		{3006,	 41538, 3750 },
		{3307,	 41418, 3751 },
		{3607,	 41318, 3801 },
		{3908,	 41217, 3825 },
		{4208,	 41107, 3826 },
		{4509,	 41017, 3851 },
		{4810,	 40926, 3875 },
		{5110,	 40868, 3885 },
		{5411,	 40834, 4028 },
		{5712,	 40749, 4070 },
		{6012,	 40587, 4002 },
		{6313,	 40414, 4021 },
		{6613,	 40208, 3975 },
		{6914,	 40060, 3973 },
		{7215,	 39932, 3954 },
		{7515,	 39833, 4002 },
		{7816,	 39753, 4025 },
		{8116,	 39676, 4027 },
		{8417,	 39624, 4050 },
		{8718,	 39554, 4048 },
		{9018,	 39490, 4018 },
		{9319,	 39381, 3948 },
		{9619,	 39289, 3918 },
		{9920,	 39179, 3840 },
		{10221,  39072, 3750 },
		{10521,  38991, 3747 },
		{10822,  38903, 3725 },
		{11122,  38832, 3714 },
		{11423,  38763, 3633 },
		{11724,  38706, 3706 },
		{12024,  38663, 3750 },
		{12325,  38604, 3747 },
		{12625,  38554, 3728 },
		{12926,  38503, 3753 },
		{13227,  38445, 3778 },
		{13527,  38405, 3803 },
		{13828,  38364, 3819 },
		{14128,  38316, 3785 },
		{14429,  38282, 3850 },
		{14730,  38235, 3858 },
		{15030,  38203, 3896 },
		{15331,  38165, 3883 },
		{15632,  38133, 3929 },
		{15932,  38095, 3950 },
		{16233,  38065, 3959 },
		{16533,  38033, 3991 },
		{16834,  37996, 3959 },
		{17135,  37975, 4005 },
		{17435,  37946, 4030 },
		{17736,  37924, 4050 },
		{18036,  37896, 4059 },
		{18337,  37876, 4109 },
		{18638,  37852, 4140 },
		{18938,  37818, 4105 },
		{19239,  37804, 4120 },
		{19539,  37776, 4105 },
		{19840,  37752, 4125 },
		{20141,  37714, 4120 },
		{20441,  37684, 4110 },
		{20742,  37658, 4155 },
		{21042,  37642, 4170 },
		{21343,  37599, 4150 },
		{21644,  37554, 4166 },
		{21944,  37517, 4225 },
		{22245,  37457, 4236 },
		{22545,  37397, 4275 },
		{22846,  37339, 4292 },
		{23147,  37284, 4350 },
		{23447,  37211, 4356 },
		{23748,  37134, 4381 },
		{24048,  37087, 4433 },
		{24349,  37075, 4538 },
		{24650,  37055, 4615 },
		{24950,  37037, 4772 },
		{25251,  37022, 4934 },
		{25552,  36984, 5079 },
		{25852,  36896, 5266 },
		{26153,  36678, 5396 },
		{26453,  36268, 5526 },
		{26754,  35713, 5844 },
		{27055,  34954, 6319 },
		{27355,  33750, 7523 },
		{27656,  31528, 13715},
		{27956,  29540, 9925 },
		{28257,  29540, 9925 },
		{28558,  29540, 9925 },
		{28858,  29540, 9925 },
		{29159,  29540, 9925 },
		{29459,  29540, 9925 },
		{29760,  29540, 9925 }
	}

};

/* T4 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t4[TOTAL_BATTERY_NUMBER][100] = {
	{
		{0,	43730,	7730},
		{509,	43526,	7726},
		{1018,	43344,	7847},
		{1528,	43182,	7927},
		{2037,	43029,	7911},
		{2546,	42884,	7838},
		{3055,	42755,	7793},
		{3564,	42620,	7729},
		{4074,	42492,	7705},
		{4583,	42364,	7620},
		{5092,	42242,	7563},
		{5601,	42123,	7508},
		{6110,	42006,	7425},
		{6619,	41896,  7424},
		{7129,	41787,	7403},
		{7638,	41677,	7364},
		{8147,	41561,	7280},
		{8656,	41447,	7204},
		{9165,	41336,	7143},
		{9675,	41227,	7039},
		{10184,	41125,	6954},
		{10693,	41048,	6950},
		{11202,	40965,	6966},
		{11711,	40880,	7013},
		{12221,	40784,	7059},
		{12730,	40662,	7045},
		{13239,	40499,	6921},
		{13748,	40313,	6858},
		{14257,	40133,	6757},
		{14767,	39985,	6680},
		{15276,	39858,	6639},
		{15785,	39745,	6618},
		{16294,	39646,	6604},
		{16803,	39561,	6625},
		{17313,	39493,	6667},
		{17822,	39418,	6675},
		{18331,	39342,	6662},
		{18840,	39258,	6631},
		{19349,	39164,	6588},
		{19858,	39072,	6548},
		{20368,	38987,	6527},
		{20877,	38896,	6487},
		{21386,	38815,	6444},
		{21895,	38734,	6414},
		{22404,	38655,	6392},
		{22914,	38588,	6375},
		{23423,	38520,	6375},
		{23932,	38452,	6375},
		{24441,	38398,	6340},
		{24950,	38341,	6339},
		{25460,	38290,	6370},
		{25969,	38245,	6400},
		{26478,	38195,	6405},
		{26987,	38153,	6447},
		{27496,	38110,	6450},
		{28006,	38074,	6482},
		{28515,	38040,	6512},
		{29024,	38010,	6533},
		{9533,	37986,	6564},
		{30042,	37969,	6628},
		{30552,	37952,	6691},
		{31061,	37935,	6755},
		{31570,	37918,	6833},
		{32079,	37906,	6929},
		{32588,	37897,	7035},
		{33097,	37887,	7144},
		{33607,	37870,	7272},
		{34116,	37853,	7358},
		{34625,	37837,	7491},
		{35134,	37820,	7651},
		{35643,	37803,	7821},
		{36153,	37786,	7996},
		{36662,	37768,	8188},
		{37171,	37743,	8400},
		{37680,	37717,	8613},
		{38189,	37686,	8840},
		{38699,	37652,	9084},
		{39208,	37615,	9346},
		{39717,	37573,	9626},
		{40226,	37530,	9923},
		{40735,	37479,	10241},
		{41245,	37422,	10594},
		{41754,	37362,	10954},
		{42263,	37299,	11325},
		{42772,	37231,	11707},
		{43281,	37164,	12095},
		{43791,	37105,	12540},
		{44300,	37045,	12966},
		{44809,	36998,	13391},
		{45318,	36961,	13815},
		{45827,	36927,	14215},
		{46336,	36888,	14580},
		{46846,	36826,	14960},
		{47355,	36708,	15300},
		{47864,	36480,	15567},
		{48373,	36091,	15847},
		{48882,	35503,	16343},
		{49392,	34682,	16406},
		{49901,	33299,	13267},
		{50410,	31750,	9475}
	},
	{
		{0,  43810,  10730},
		{459,  43588,  10726},
		{919,  43377,  10738},
		{1378,  43179,  10698},
		{1838,  42996,  10569},
		{2297,  42828,  10492},
		{2756,  42671,  10401},
		{3216,  42522,  10296},
		{3675,  42377,  10184},
		{4135,  42240,  10089},
		{4594,  42102,  10501},
		{5053,  41971,  10510},
		{5513,  41849,  9841},
		{5972,  41726,  9745},
		{6432,  41604,  9665},
		{6891,  41485,  9588},
		{7350,  41369,  9508},
		{7810,  41246,  9413},
		{8269,  41157,  9400},
		{8728,  41073,  9400},
		{9188,  40982,  9395},
		{9647,  40875,  9376},
		{10107,  40746,  9302},
		{10566,  40596,  9189},
		{11025,  40436,  9048},
		{11485,  40275,  8896},
		{11944,  40130,  8781},
		{12404,  40001,  8708},
		{12863,  39888,  8659},
		{13322,  39790,  8625},
		{13782,  39706,  8625},
		{14241,  39622,  8656},
		{14701,  39542,  8685},
		{15160,  39465,  8689},
		{15619,  39388,  8631},
		{16079,  39298,  8608},
		{16538,  39206,  8566},
		{16998,  39117,  8520},
		{17457,  39032,  8501},
		{17916,  38939,  8481},
		{18376,  38852,  8449},
		{18835,  38771,  8418},
		{19295,  38694,  8400},
		{19754,  38618,  8400},
		{20213,  38547,  8385},
		{20673,  38478,  8357},
		{21132,  38412,  8331},
		{21592,  38358,  8369},
		{22051,  38304,  8408},
		{22510,  38255,  8446},
		{22970,  38209,  8475},
		{23429,  38163,  8475},
		{23888,  38124,  8475},
		{24348,  38091,  8511},
		{24807,  38063,  8562},
		{25267,  38040,  8601},
		{25726,  38017,  8639},
		{26185,  37999,  8718},
		{26645,  37981,  8806},
		{27104,  37959,  8884},
		{27564,  37943,  8980},
		{28023,  37928,  9076},
		{28482,  37913,  9181},
		{28942,  37897,  9299},
		{29401,  37882,  9433},
		{29861,  37867,  9600},
		{30320,  37851,  9783},
		{30779,  37834,  9975},
		{31239,  37811,  10166},
		{31698,  37795,  10376},
		{32158,  37775,  10562},
		{32617,  37750,  10747},
		{33076,  37719,  10959},
		{33536,  37696,  11208},
		{33995,  37668,  11471},
		{34455,  37634,  11714},
		{34914,  37596,  11931},
		{35373,  37557,  12199},
		{35833,  37512,  12471},
		{36292,  37466,  12751},
		{36752,  37416,  13038},
		{37211,  37355,  13326},
		{37670,  37294,  13595},
		{38130,  37228,  13805},
		{38589,  37157,  14012},
		{39048,  37080,  14299},
		{39508,  37011,  14510},
		{39967,  36953,  14760},
		{40427,  36908,  15028},
		{40886,  36878,  15307},
		{41345,  36847,  15709},
		{41805,  36816,  16096},
		{42264,  36768,  16559},
		{42724,  36670,  17099},
		{43183,  36417,  17558},
		{43642,  35929,  18214},
		{44102,  35308,  18159},
		{44561,  34403,  16049},
		{45021,  33780,  14525},
		{45480,  33780,  14525}
	},
	{
		{0,	     42420, 9500 },
		{301,	   42210, 5801 },
		{601,	   41979, 6176 },
		{902,	   41699, 6529 },
		{1202,	 41529, 7252 },
		{1503,	 41379, 7451 },
		{1804,	 41259, 7577 },
		{2104,	 41139, 7749 },
		{2405,	 41039, 7702 },
		{2705,	 40969, 7851 },
		{3006,	 40899, 7927 },
		{3307,	 40838, 8002 },
		{3607,	 40746, 8100 },
		{3908,	 40595, 8099 },
		{4208,	 40404, 8075 },
		{4509,	 40204, 8073 },
		{4810,	 40021, 8025 },
		{5110,	 39893, 8028 },
		{5411,	 39783, 8078 },
		{5712,	 39684, 8120 },
		{6012,	 39604, 8056 },
		{6313,	 39525, 8127 },
		{6613,	 39455, 8156 },
		{6914,	 39394, 8221 },
		{7215,	 39313, 8169 },
		{7515,	 39222, 8100 },
		{7816,	 39122, 8094 },
		{8116,	 39034, 8023 },
		{8417,	 38962, 7998 },
		{8718,	 38874, 7975 },
		{9018,	 38803, 7973 },
		{9319,	 38735, 7960 },
		{9619,	 38685, 8052 },
		{9920,	 38634, 8078 },
		{10221,  38574, 8085 },
		{10521,  38516, 7963 },
		{10822,  38474, 8080 },
		{11122,  38415, 8136 },
		{11423,  38366, 8225 },
		{11724,  38328, 8228 },
		{12024,  38304, 8253 },
		{12325,  38254, 8281 },
		{12625,  38205, 8322 },
		{12926,  38168, 8312 },
		{13227,  38145, 8403 },
		{13527,  38106, 8419 },
		{13828,  38075, 8381 },
		{14128,  38035, 8425 },
		{14429,  37997, 8433 },
		{14730,  37977, 8487 },
		{15030,  37957, 8554 },
		{15331,  37933, 8579 },
		{15632,  37898, 8600 },
		{15932,  37887, 8617 },
		{16233,  37865, 8696 },
		{16533,  37840, 8688 },
		{16834,  37835, 8759 },
		{17135,  37805, 8805 },
		{17435,  37774, 8825 },
		{17736,  37748, 8839 },
		{18036,  37734, 8919 },
		{18337,  37702, 9019 },
		{18638,  37664, 9100 },
		{18938,  37632, 9124 },
		{19239,  37590, 9240 },
		{19539,  37540, 9305 },
		{19840,  37490, 9340 },
		{20141,  37440, 9425 },
		{20441,  37386, 9551 },
		{20742,  37320, 9676 },
		{21042,  37265, 9822 },
		{21343,  37202, 10032},
		{21644,  37159, 10177},
		{21944,  37111, 10329},
		{22245,  37074, 10595},
		{22545,  37048, 10926},
		{22846,  37031, 11277},
		{23147,  36982, 11672},
		{23447,  36894, 12228},
		{23748,  36743, 12780},
		{24048,  36440, 13300},
		{24349,  35974, 13929},
		{24650,  35322, 14812},
		{24950,  34380, 16210},
		{25251,  32952, 17130},
		{25552,  31174, 13277},
		{25852,  30950, 13150},
		{26153,  30950, 13150},
		{26453,  30950, 13150},
		{26754,  30950, 13150},
		{27055,  30950, 13150},
		{27355,  30950, 13150},
		{27656,  30950, 13150},
		{27956,  30950, 13150},
		{28257,  30950, 13150},
		{28558,  30950, 13150},
		{28858,  30950, 13150},
		{29159,  30950, 13150},
		{29459,  30950, 13150},
		{29760,  30950, 13150}
	},
	{
		{0,	     42420, 9500 },
		{301,	   42210, 5801 },
		{601,	   41979, 6176 },
		{902,	   41699, 6529 },
		{1202,	 41529, 7252 },
		{1503,	 41379, 7451 },
		{1804,	 41259, 7577 },
		{2104,	 41139, 7749 },
		{2405,	 41039, 7702 },
		{2705,	 40969, 7851 },
		{3006,	 40899, 7927 },
		{3307,	 40838, 8002 },
		{3607,	 40746, 8100 },
		{3908,	 40595, 8099 },
		{4208,	 40404, 8075 },
		{4509,	 40204, 8073 },
		{4810,	 40021, 8025 },
		{5110,	 39893, 8028 },
		{5411,	 39783, 8078 },
		{5712,	 39684, 8120 },
		{6012,	 39604, 8056 },
		{6313,	 39525, 8127 },
		{6613,	 39455, 8156 },
		{6914,	 39394, 8221 },
		{7215,	 39313, 8169 },
		{7515,	 39222, 8100 },
		{7816,	 39122, 8094 },
		{8116,	 39034, 8023 },
		{8417,	 38962, 7998 },
		{8718,	 38874, 7975 },
		{9018,	 38803, 7973 },
		{9319,	 38735, 7960 },
		{9619,	 38685, 8052 },
		{9920,	 38634, 8078 },
		{10221,  38574, 8085 },
		{10521,  38516, 7963 },
		{10822,  38474, 8080 },
		{11122,  38415, 8136 },
		{11423,  38366, 8225 },
		{11724,  38328, 8228 },
		{12024,  38304, 8253 },
		{12325,  38254, 8281 },
		{12625,  38205, 8322 },
		{12926,  38168, 8312 },
		{13227,  38145, 8403 },
		{13527,  38106, 8419 },
		{13828,  38075, 8381 },
		{14128,  38035, 8425 },
		{14429,  37997, 8433 },
		{14730,  37977, 8487 },
		{15030,  37957, 8554 },
		{15331,  37933, 8579 },
		{15632,  37898, 8600 },
		{15932,  37887, 8617 },
		{16233,  37865, 8696 },
		{16533,  37840, 8688 },
		{16834,  37835, 8759 },
		{17135,  37805, 8805 },
		{17435,  37774, 8825 },
		{17736,  37748, 8839 },
		{18036,  37734, 8919 },
		{18337,  37702, 9019 },
		{18638,  37664, 9100 },
		{18938,  37632, 9124 },
		{19239,  37590, 9240 },
		{19539,  37540, 9305 },
		{19840,  37490, 9340 },
		{20141,  37440, 9425 },
		{20441,  37386, 9551 },
		{20742,  37320, 9676 },
		{21042,  37265, 9822 },
		{21343,  37202, 10032},
		{21644,  37159, 10177},
		{21944,  37111, 10329},
		{22245,  37074, 10595},
		{22545,  37048, 10926},
		{22846,  37031, 11277},
		{23147,  36982, 11672},
		{23447,  36894, 12228},
		{23748,  36743, 12780},
		{24048,  36440, 13300},
		{24349,  35974, 13929},
		{24650,  35322, 14812},
		{24950,  34380, 16210},
		{25251,  32952, 17130},
		{25552,  31174, 13277},
		{25852,  30950, 13150},
		{26153,  30950, 13150},
		{26453,  30950, 13150},
		{26754,  30950, 13150},
		{27055,  30950, 13150},
		{27355,  30950, 13150},
		{27656,  30950, 13150},
		{27956,  30950, 13150},
		{28257,  30950, 13150},
		{28558,  30950, 13150},
		{28858,  30950, 13150},
		{29159,  30950, 13150},
		{29459,  30950, 13150},
		{29760,  30950, 13150}
	}

};

/* T5 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t5[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5305},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11605}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T6 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t6[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5306},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11606}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T7 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t7[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5307},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11607}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T8 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t8[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5308},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11608}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};

/* T9 */
struct FUELGAUGE_PROFILE_STRUCT fg_profile_t9[TOTAL_BATTERY_NUMBER][90] = {
	{
		{0, 42980, 5309},
		{336, 42832, 5300},
		{673, 42691, 5331},
		{1009, 42556, 5398},
		{1346, 42415, 5485},
		{1682, 42266, 5548},
		{2018, 42112, 5595},
		{2355, 41957, 5682},
		{2691, 41794, 5832},
		{3028, 41626, 6033},
		{3364, 41462, 6278},
		{3700, 41282, 6561},
		{4037, 41093, 6884},
		{4373, 40898, 7298},
		{4710, 40742, 7686},
		{5046, 40606, 8046},
		{5382, 40465, 8353},
		{5719, 40292, 8598},
		{6055, 40111, 8792},
		{6392, 39963, 8879},
		{6728, 39844, 9029},
		{7064, 39739, 9179},
		{7401, 39645, 9246},
		{7737, 39566, 9311},
		{8074, 39487, 9387},
		{8410, 39392, 9497},
		{8747, 39303, 9489},
		{9083, 39210, 9482},
		{9419, 39103, 9569},
		{9756, 38984, 9502},
		{10092, 38869, 9452},
		{10429, 38766, 9541},
		{10765, 38687, 9629},
		{11101, 38611, 9693},
		{11438, 38530, 9715},
		{11774, 38467, 9814},
		{12111, 38406, 9923},
		{12447, 38346, 10032},
		{12783, 38285, 10122},
		{13120, 38230, 10245},
		{13456, 38183, 10420},
		{13793, 38149, 10574},
		{14129, 38109, 10719},
		{14465, 38062, 10850},
		{14802, 38028, 11085},
		{15138, 37991, 11315},
		{15475, 37951, 11534},
		{15811, 37924, 11666},
		{16147, 37893, 11830},
		{16484, 37860, 12028},
		{16820, 37833, 12290},
		{17157, 37798, 12509},
		{17493, 37757, 12691},
		{17829, 37717, 12909},
		{18166, 37680, 13178},
		{18502, 37644, 13475},
		{18839, 37576, 13671},
		{19175, 37517, 13920},
		{19511, 37462, 14186},
		{19848, 37394, 14317},
		{20184, 37323, 14533},
		{20521, 37250, 14798},
		{20857, 37183, 15083},
		{21193, 37124, 15425},
		{21530, 37069, 15800},
		{21866, 37009, 16194},
		{22203, 36962, 16860},
		{22539, 36916, 17637},
		{22876, 36849, 18381},
		{23212, 36719, 19140},
		{23548, 36517, 19837},
		{23885, 36160, 20305},
		{24221, 35626, 20732},
		{24558, 35047, 21203},
		{24894, 34524, 21399},
		{25230, 34044, 19815},
		{25567, 32822, 15920},
		{25903, 31200, 11603},
		{26240, 31200, 11603},
		{26576, 31200, 11603},
		{26912, 31200, 11603},
		{27249, 31200, 11603},
		{27585, 31200, 11603},
		{27922, 31200, 11603},
		{28258, 31200, 11603},
		{28594, 31200, 11603},
		{28931, 31200, 11603},
		{29267, 31200, 11603},
		{29604, 31200, 11603},
		{29940, 31200, 11609}
	},
	{
		{0, 41760, 6890},
		{327, 41633, 5860},
		{653, 41533, 5925},
		{980, 41435, 5883},
		{1307, 41163, 5795},
		{1633, 40827, 6028},
		{1960, 40570, 6370},
		{2286, 40372, 6738},
		{2613, 40157, 7366},
		{2940, 39901, 8336},
		{3266, 39716, 9253},
		{3593, 39559, 9684},
		{3920, 39448, 9911},
		{4246, 39368, 9926},
		{4573, 39283, 10000},
		{4899, 39188, 9902},
		{5226, 39111, 10114},
		{5553, 39047, 10228},
		{5879, 38928, 10045},
		{6206, 38840, 10114},
		{6533, 38745, 10152},
		{6859, 38677, 10156},
		{7186, 38591, 10208},
		{7512, 38535, 10322},
		{7839, 38459, 10370},
		{8166, 38426, 10413},
		{8492, 38363, 10407},
		{8819, 38329, 10461},
		{9146, 38274, 10400},
		{9472, 38206, 10312},
		{9799, 38160, 10482},
		{10126, 38144, 10695},
		{10452, 38078, 10595},
		{10779, 38043, 10687},
		{11105, 38008, 10806},
		{11432, 37982, 10881},
		{11759, 37919, 14515},
		{12085, 37898, 14333},
		{12412, 37874, 15022},
		{12739, 37827, 15669},
		{13065, 37788, 15301},
		{13392, 37753, 11592},
		{13718, 37717, 11216},
		{14045, 37665, 11331},
		{14372, 37618, 11388},
		{14698, 37547, 11671},
		{15025, 37515, 12263},
		{15352, 37426, 12441},
		{15678, 37355, 12574},
		{16005, 37297, 12571},
		{16331, 37230, 12657},
		{16658, 37172, 12987},
		{16985, 37129, 13394},
		{17311, 37064, 13607},
		{17638, 37044, 13702},
		{17965, 36985, 14008},
		{18291, 36927, 13577},
		{18618, 36762, 12896},
		{18944, 36491, 13454},
		{19271, 36057, 13614},
		{19598, 35452, 16709},
		{19924, 34375, 13547},
		{20251, 32882, 16132},
		{20578, 31935, 13264},
		{20904, 30830, 12903},
		{21231, 30830, 12903},
		{21558, 30830, 12903},
		{21884, 30830, 12903},
		{22211, 30830, 12903},
		{22537, 30830, 12903},
		{22864, 30830, 12903},
		{23191, 30830, 12903},
		{23517, 30830, 12903},
		{23844, 30830, 12903},
		{24171, 30830, 12903},
		{24497, 30830, 12903},
		{24824, 30830, 12903},
		{25150, 30830, 12903},
		{25477, 30830, 12903},
		{25804, 30830, 12903},
		{26130, 30830, 12903},
		{26457, 30830, 12903},
		{26784, 30830, 12903},
		{27110, 30830, 12903},
		{27437, 30830, 12903},
		{27763, 30830, 12903},
		{28090, 30830, 12903},
		{28417, 30830, 12903},
		{28743, 30830, 12903},
		{29070, 30830, 12903}
	},
	{
		{0, 42950, 9653},
		{283, 42752, 9653},
		{567, 42580, 9941},
		{850, 42393, 10140},
		{1134, 42191, 10278},
		{1417, 41976, 10500},
		{1701, 41765, 10837},
		{1984, 41570, 11205},
		{2268, 41405, 11535},
		{2551, 41259, 11755},
		{2835, 41125, 11878},
		{3118, 41009, 11987},
		{3402, 40905, 12084},
		{3685, 40805, 12191},
		{3969, 40704, 12366},
		{4252, 40581, 12496},
		{4536, 40425, 12563},
		{4819, 40246, 12661},
		{5103, 40074, 12793},
		{5386, 39933, 12971},
		{5670, 39810, 13033},
		{5953, 39725, 13217},
		{6237, 39622, 13285},
		{6520, 39543, 13400},
		{6804, 39441, 13423},
		{7087, 39352, 13521},
		{7371, 39253, 13553},
		{7654, 39155, 13573},
		{7938, 39055, 13605},
		{8221, 38951, 13670},
		{8504, 38852, 13746},
		{8788, 38756, 13809},
		{9071, 38668, 13897},
		{9355, 38592, 14009},
		{9638, 38516, 14101},
		{9922, 38446, 14201},
		{10205, 38389, 14323},
		{10489, 38332, 14447},
		{10772, 38276, 14581},
		{11056, 38237, 14762},
		{11339, 38180, 14885},
		{11623, 38133, 15007},
		{11906, 38086, 15159},
		{12190, 38047, 15313},
		{12473, 38017, 15517},
		{12757, 37973, 15592},
		{13040, 37939, 15737},
		{13324, 37911, 15963},
		{13607, 37882, 16132},
		{13891, 37859, 16342},
		{14174, 37840, 16618},
		{14458, 37821, 16913},
		{14741, 37802, 17226},
		{15025, 37783, 17521},
		{15308, 37764, 17807},
		{15592, 37743, 18116},
		{15875, 37716, 18424},
		{16159, 37696, 18675},
		{16442, 37676, 18623},
		{16726, 37653, 18538},
		{17009, 37623, 18469},
		{17292, 37590, 18330},
		{17576, 37568, 18257},
		{17859, 37525, 18135},
		{18143, 37474, 17984},
		{18426, 37378, 17648},
		{18710, 33950, 6565},
		{18993, 33950, 6565},
		{19277, 33950, 6565},
		{19560, 33950, 6565},
		{19844, 33950, 6565},
		{20127, 33950, 6565},
		{20411, 33950, 6565},
		{20694, 33950, 6565},
		{20978, 33950, 6565},
		{21261, 33950, 6565},
		{21545, 33950, 6565},
		{21828, 33950, 6565},
		{22112, 33950, 6565},
		{22395, 33950, 6565},
		{22679, 33950, 6565},
		{22962, 33950, 6565},
		{23246, 33950, 6565},
		{23529, 33950, 6565},
		{23813, 33950, 6565},
		{24096, 33950, 6565},
		{24380, 33950, 6565},
		{24663, 33950, 6565},
		{24947, 33950, 6565},
		{25230, 33950, 6565}
	},
	{
		{0, 41600, 4323},
		{226, 41397, 4323},
		{451, 41219, 4503},
		{677, 41066, 4722},
		{903, 40939, 4844},
		{1129, 40841, 4917},
		{1354, 40743, 4957},
		{1580, 40640, 4989},
		{1806, 40527, 5039},
		{2032, 40402, 5090},
		{2257, 40286, 5139},
		{2483, 40177, 5197},
		{2709, 40072, 5265},
		{2934, 39974, 5265},
		{3160, 39888, 5301},
		{3386, 39814, 5351},
		{3612, 39753, 5398},
		{3837, 39686, 5422},
		{4063, 39618, 5446},
		{4289, 39554, 5481},
		{4515, 39491, 5528},
		{4740, 39408, 5552},
		{4966, 39343, 5595},
		{5192, 39276, 5600},
		{5418, 39200, 5558},
		{5643, 39114, 5558},
		{5869, 39031, 5558},
		{6095, 38940, 5495},
		{6320, 38842, 5378},
		{6546, 38745, 5279},
		{6772, 38660, 5203},
		{6998, 38585, 5181},
		{7223, 38516, 5195},
		{7449, 38440, 5171},
		{7675, 38378, 5104},
		{7901, 38322, 5083},
		{8126, 38272, 5108},
		{8352, 38235, 5132},
		{8578, 38197, 5156},
		{8803, 38151, 5168},
		{9029, 38102, 5168},
		{9255, 38064, 5168},
		{9481, 38033, 5210},
		{9706, 38003, 5261},
		{9932, 37976, 5311},
		{10158, 37961, 5360},
		{10384, 37932, 5386},
		{10609, 37911, 5425},
		{10835, 37891, 5460},
		{11061, 37861, 5460},
		{11287, 37838, 5483},
		{11512, 37825, 5508},
		{11738, 37813, 5525},
		{11964, 37791, 5525},
		{12189, 37783, 5573},
		{12415, 37775, 5637},
		{12641, 37768, 5695},
		{12867, 37760, 5720},
		{13092, 37753, 5793},
		{13318, 37735, 5802},
		{13544, 37710, 5801},
		{13770, 37680, 5850},
		{13995, 37649, 5850},
		{14221, 37613, 5885},
		{14447, 37573, 5924},
		{14672, 37526, 5950},
		{14898, 37459, 6000},
		{15124, 37391, 6031},
		{15350, 37320, 6054},
		{15575, 37244, 6079},
		{15801, 37162, 6104},
		{16027, 37107, 6146},
		{16253, 37065, 6235},
		{16478, 37027, 6380},
		{16704, 36989, 6503},
		{16930, 36969, 6735},
		{17156, 36950, 7086},
		{17381, 36923, 7565},
		{17607, 36845, 8172},
		{17833, 36629, 8783},
		{18058, 36254, 9699},
		{18284, 35714, 10777},
		{18510, 34970, 9881},
		{18736, 33949, 6565},
		{18961, 33940, 6565},
		{19187, 33940, 6565},
		{19413, 33940, 6565},
		{19639, 33940, 6565},
		{19864, 33940, 6565},
		{20090, 33940, 6565}
	}

};


/* ============================================================
 * function prototype
 * ============================================================
 */

#endif
